Skip to content

Improve number field#101

Open
NeutronSelector wants to merge 7 commits intoGTNewHorizons:masterfrom
NeutronSelector:improve-number-field
Open

Improve number field#101
NeutronSelector wants to merge 7 commits intoGTNewHorizons:masterfrom
NeutronSelector:improve-number-field

Conversation

@NeutronSelector
Copy link

fix an excption occurd when TextFieldWidget is initilized like this :
new TextFieldWidget().setFormatAsInteger(true).width(width).height(12);

In this cas, if user enter a non-numeric char in the filed, InvalidNumberException thrown.

Improve QOL when a field is numric, remove all non numeric chars onRemoveFocus instead set 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants